package hx.engine;

import hx.model.dto.House;

import java.util.Collection;

import org.springframework.transaction.annotation.Transactional;

public interface IHouseEngine {

	@Transactional
	void saveOrUpdate(final House house);
	
	@Transactional
	House getById(String id);
	
	@Transactional
	void delete(House house);
	
	@Transactional
	Collection<House> findAll();
	
}
